<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
<td>{$vo.id ?? ''}</td>
<td>
    <!--查找酒店名称-->
    {if !empty($vo['hotel_id'])}
    <?php
        echo Db::name('hotel')->where('id',$vo['hotel_id'])->value('hotel_name');
    ?>

    {/if}
</td>
<td>{$vo.hotel_location}</td>
<td>{$vo.start_time}</td>
<td>{$vo.end_time}</td>
<td>
    {switch name="vo.settlement_status"}
        {case value="1"}申请结算{/case}
        {case value="2"}未结算{/case}
        {case value="3"}已结算{/case}
    {/switch}
</td>
<td style="padding: 0px">
    {php}
        if(!empty($infos)){
            foreach($infos as $kl=>$vl){
                if($vl['id'] == $vo['id'] && !empty($vl['collect_data'])){
                    $count = count($vl['collect_data']);
                    $i = 1;
                if(isset($vl['collect_data']['room_name']) && $vl['collect_data']['room_name'] == '不存在房价价格列表信息'){
                    continue;
                }
                foreach($vl['collect_data'] as $vll=>$kll){
                        $i++;
                        echo "<span>";
                        if(empty($kll['room_name'])){
                            echo '房型不存在';
                        }else{
                            echo $kll['room_name'];
                        }
                        echo "</span>";
                        if(!($i > $count)){
                            echo "<hr  width='100%' noshade='#000'/>";
                        }
                    }
                }
            }
        }
    {/php}
</td>
<td style="padding: 0px">
    {php}
        if(!empty($infos)){
            foreach($infos as $kl=>$vl){
                    if($vl['id'] == $vo['id'] && !empty($vl['collect_data'])){
                        $count = count($vl['collect_data']);
                        $i = 1;
                    if(isset($vl['collect_data']['room_name']) && $vl['collect_data']['room_name'] == '不存在房价价格列表信息'){
                        continue;
                    }
                    foreach($vl['collect_data'] as $vll=>$kll){
                        $i++;
                        echo "<span>";
                        if(empty($kll['price'])){
                            echo '房价不存在';
                        }else{
                            echo $kll['price'];
                        }
                        echo "</span>";
                        if(!($i > $count)){
                            echo "<hr  width='100%' noshade='#000'/>";
                        }
                    }
                }
            }
        }
    {/php}
</td>
<td style="padding: 0px">
    {php}
        if(!empty($infos)){
            foreach($infos as $kl=>$vl){
                if($vl['id'] == $vo['id'] && !empty($vl['collect_data'])){
                    $count = count($vl['collect_data']);
                    $i = 1;
                    if(isset($vl['collect_data']['room_name']) && $vl['collect_data']['room_name'] == '不存在房价价格列表信息'){
                    continue;
                    }
                    foreach($vl['collect_data'] as $vll=>$kll){
                        $i++;
                        echo "<span>";
                        echo $kll['num'];
                        echo "</span>";
                        if(!($i > $count)){
                        echo "<hr  width='100%' noshade='#000'/>";
                        }
                    }
                }
            }
        }
    {/php}
</td>
<td style="padding: 0px">
    {php}
        if(!empty($infos)){
            foreach($infos as $kl=>$vl){
                if($vl['id'] == $vo['id'] && !empty($vl['collect_data'])){
                    $count = count($vl['collect_data']);
                        $i = 1;
                        if(isset($vl['collect_data']['room_name']) && $vl['collect_data']['room_name'] == '不存在房价价格列表信息'){
                            continue;
                        }
                        foreach($vl['collect_data'] as $vll=>$kll){
                            $i++;
                            echo "<span>";
                            echo $kll['totalPrice'];
                            echo "</span>";
                        if(!($i > $count)){
                            echo "<hr  width='100%' noshade='#000'/>";
                        }
                    }
                }
            }
        }
    {/php}
</td>
<td>{$vo.notes|high_light=$Request.param.remark}</td>